package cn.iocoder.yudao.module.member.controller.admin.userrelation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

/**
 * 户关系 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class UserRelationBaseVO {

    @Schema(description = "客户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32345")
    @NotNull(message = "客户id不能为空")
    private Long memberUserId;

    @Schema(description = "燃气户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "889")
    @NotNull(message = "燃气户id不能为空")
    private Long crmMemberUserId;

    @Schema(description = "0户主1授权")
    private Integer relation;

    @Schema(description = "0正常1废弃", example = "2")
    private Integer status;

}
